﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SportsPlatform.Query.Competition
{
    /// <summary>
    /// 客户端赛事信息同步
    /// </summary>
    public class CompetitionSynchronizationQuery
    {
        /// <summary>
        /// Id主键
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 赛事名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 所属商户
        /// </summary>
        public Guid Merchants { get; set; }

        /// <summary>
        /// 封面图
        /// </summary>
        public string CoverPicture { get; set; }

        /// <summary>
        /// 轮播图
        /// </summary>
        public string RotationPicture { get; set; }

        /// <summary>
        /// 举办城市
        /// </summary>
        public string City { get; set; }

        /// <summary>
        /// 举办地点
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 举办详细地址
        /// </summary>
        public string DetailsAddress { get; set; }

        /// <summary>
        /// 报名开始时间
        /// </summary>
        public DateTime SignUpBeginTime { get; set; }

        /// <summary>
        /// 报名结束时间
        /// </summary>
        public DateTime SingUpEndTime { get; set; }

        /// <summary>
        /// 比赛开始时间
        /// </summary>
        public DateTime MatchBeginTime { get; set; }

        /// <summary>
        /// 比赛结束时间
        /// </summary>
        public DateTime MatchEndTime { get; set; }

        /// <summary>
        /// 咨询人
        /// </summary>
        public string Consultant { get; set; }

        /// <summary>
        /// 咨询电话
        /// </summary>
        public string TelePhone { get; set; }

        /// <summary>
        /// 赛事状态（0：关闭；1：待发布；2：报名未开始；3：正在报名；4：报名结束待比赛；5：正在比赛；6：比赛结束）
        /// </summary>
        public int State { get; set; }

        /// <summary>
        /// 活动详情
        /// </summary>
        public string Details { get; set; }

        /// <summary>
        /// 赛事须知
        /// </summary>
        public string Instructions { get; set; }

        /// <summary>
        /// 二维码
        /// </summary>
        public string QrCode { get; set; }

        /// <summary>
        /// 赛事链接
        /// </summary>
        public string Url { get; set; }

        /// <summary>
        /// 收费类型（1：按项目收费；2：按赛事收费）
        /// </summary>
        public int ChargeType { get; set; }

        /// <summary>
        /// 费用（元/人）
        /// </summary>
        public decimal? Money { get; set; }

        /// <summary>
        /// 详细地址坐标点
        /// </summary>
        public string Point { get; set; }

        /// <summary>
        /// 是否启用（0：禁用；1：启用）
        /// </summary>
        public int IsEnable { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public Guid CreateUserId { get; set; }

        /// <summary>
        /// 更改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 更改人
        /// </summary>
        public Guid? UpdateUserId { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeleteTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get; set; }

        /// <summary>
        /// 删除人
        /// </summary>
        public Guid? DeleteUserId { get; set; }
    }
}
